package com.welove.activity.login;

import android.annotation.SuppressLint;
import android.view.View;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.widget.ViewFlipper;

import com.welove.R;
import com.welove.activity.BaseActivity;

/**
 * @author dreamfutureba@gmail.com
 * @date 2013-11-5下午10:39:20
 * @version 
 * @description 注册协议界面
 */
public class RegisterRightsNoticeActivity extends BaseActivity{
	private static final String TAG=RegisterRightsNoticeActivity.class.getSimpleName();
	
	private WebView rights_notice_webview;
	
	@Override
	protected void installViews() {
		setContentView(R.layout.activity_register_righrs_notice_activity);
		initView();
	}
	
	@SuppressLint("SetJavaScriptEnabled")
	private void initView(){
		rights_notice_webview=(WebView) this.findViewById(R.id.rights_notice_webview);
		WebSettings rights_notice_setting = rights_notice_webview.getSettings();     
		rights_notice_setting.setJavaScriptEnabled(true);     
		rights_notice_webview.loadUrl("file:///android_asset/rights_notice.html");  
	}
	
	@Override
	protected void registerEvents() {
		// TODO Auto-generated method stub
		
	}
	
	@Override
	protected void initTitleBar() {
		super.initTitleBar();
		mTitleBar.titlebar_tv_center.setText("服务协议");
		mTitleBar.titlebar_btn_right.setVisibility(View.GONE);
	}

}
